package com.example.rightmost.entity;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author:javayhch
 * @date:2024/8/16
 * @description:
 */

//用户
@Data
public class User {

    //用户id
    private Integer id;

    //用户名
    private String username;

    //密码
    private String password;

    //头像
    private String avatar;

    //生日
    private LocalDate birthday;

    //性别
    private String gender;

    //手机号
    private String mobile;

    //个性签名
    private String sign;

    //账号状态，1启用，0禁用
    private Character status;

    //权限，1管理员，2用户
    private Integer role;

    //账号创建时间
    private LocalDateTime createTime;

    //最后修改时间
    private LocalDateTime lastUpdateTime;

}
